package com.cee.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cee.dto.JudgeDTO;
import com.cee.model.Judge;

import java.util.List;

public interface JudgeMapper extends BaseMapper<Judge> {

    void saveJudge(Judge judge);

    /**
     * 查询列表
     * @param judgeDTO
     * @return
     */
    List<JudgeDTO> getJudgeList(JudgeDTO judgeDTO);


    /**
     * examId查询List
     * @param examId
     * @return
     */
    List<JudgeDTO> getListByExamId(Integer examId);


    void updateJudgeById(Judge judge);
}
